define(function(require, exports, module) {
	'use strict';
    
    var rk = require('rk');
    require('./plus/eventEditorWindow');

    var opener = {};
    // opener.popupEditor = function(option) {
    //         rk.dialog({
    //             title: false,
    //             width: 430,
    //             success: function (dialogElem) {
    //                 var html = rk.templateText(require('oa/tmpl/schedule/tpl_schedule_dialog_cal_event_editor.tpl'), {});
    //                 dialogElem.html(html);
    //                 dialogElem.find('[data-plugin="eventEditorWindow"]').eventEditorWindow(option);
    //             },
    //             footer: false
    //         });
    // };

    return opener;
});